<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>

<script type="text/javascript">
	$(function() {
		$('#menu_pid').combotree({
			url : '${ctx}/sys/res/treeGrid',
			idFiled : 'id',
			textFiled : 'text',
			parentField : 'pid',
			lines : true
		});
		
	});
</script>
<div align="center" id="dil">
	<form id="res_updateForm" method="post"  class="zzld_form">
		<input type="hidden" name="id"  />
		<table class="zzld_table"  style="width: 100%">
			<tr>
				<th>菜单名称：</th>
				<td colspan="3"><input name="name" value=""
					class="easyui-validatebox" data-options="required:true"
					missingMessage="请输入资源名称" style="width: 98%;" /></td>
			</tr>
			<tr>
				<th>上级菜单：</th>
				<td><input id="menu_pid" name="pid"
					class="easyui-combotree" style="width: 155px;" /></td>
				<th>节点初始：</th>
				<td><select name="islast"
					class="easyui-combobox" style="width: 155px;">
						<option value="1">展开</option>
						<option value="0">不展开</option>
				</select></td>
			</tr>
			<tr>
				<th>排序：</th>
				<td>
					<input name="sort" class="easyui-numberspinner"
					data-options="required:true,min:0.00000,max:100000,"
					missingMessage="请输入序号"
					precision="3" increment="0.001" style="width: 155px;" value="100" /></td>
				<th>可用状态：</th>
				<td><select name="state"
					class="easyui-combobox" style="width: 155px;">
						<option value="1">已激活</option>
						<option value="0">未激活</option>
				</select></td>
			</tr>
			<tr>
				<th>可用类型:</th>
				<td class="stdinput"  colspan="3"><select name="type">
						<option value="0">菜单</option>
						<option value="1">按钮</option>
				</select></td>
			</tr>
			<tr>
				<th>请求地址：</th>
				<td colspan="3"><input id="resurl"
					name="resurl" style="width: 98%;" />
					</td>
			</tr>
			<tr>
				<th>备注信息：</th>
				<td colspan="3"><textarea name="remarks"
						rows="3" cols="52" style="width: 98%;"></textarea></td>
			</tr>
		</table>
	</form>
</div>
